﻿using System;

namespace Enter.Enums
{

    public enum EnumArchive
    {
        /// <summary>
        /// 是否退案
        /// </summary>
        EnumArchiveIsOutCase = 1,
        /// <summary>
        /// 被告情况(还款意愿)
        /// </summary>
        EnumArchiveDefendantRepay = 10,
        /// <summary>
        /// 合同类别(新合同/旧合同)
        /// </summary>
        EnumArchiveContractType = 20,
        /// <summary>
        /// 委托状态
        /// </summary>
        EnumArchiveTrustState = 30,
        /// <summary>
        /// 性别
        /// </summary>
        EnumArchiveCustomerSexy = 40,
        /// <summary>
        /// 支付方式(自主支付/受托支付)
        /// </summary>
        EnumArchivePayType = 50,
        /// <summary>
        /// 合同里的收款账户是(受托人/本人)
        /// </summary>
        EnumArchiveSelfType = 60,
        /// <summary>
        /// 终结执行类型（正常终结/非正常终结）
        /// </summary>
        EnumArchiveEndExecType = 70,
        /// <summary>
        /// 终本类型（正常终结/非正常终结）
        /// </summary>
        EnumArchiveClosingType = 80,
        /// <summary>
        /// 保全进度：待保全/已保全未出查冻扣通知书/已保全已查封
        /// </summary>
        EnumArchivePreserveProgress = 90,
        /// <summary>
        /// 被告情况(到庭情况)
        /// </summary>
        EnumArchiveDefendantComeState = 100,
        /// <summary>
        /// 判决结果（胜诉/败诉/部分败诉）
        /// </summary>
        EnumArchiveVerdictResult = 110,
        /// <summary>
        /// 是否
        /// </summary>
        EnumYesNo = 120,
        /// <summary>
        /// 有无
        /// </summary>
        EnumHaveNo = 125,
        /// <summary>
        /// 案件进展/诉讼进展
        /// </summary>
        EnumArchiveNatural1 = 130,
        /// <summary>
        /// 用户
        /// </summary>
        EnumEmploy = 200,
        /// <summary>
        /// 已办理/未办理
        /// </summary>
        EnumHaveNoBanli = 300,
        /// <summary>
        /// 所属机构
        /// </summary>
        EnumDynamicTable = 310,
    }

    // SealOutTime 保全到期前45日提前  保全到期日/查封、冻结到期日
    // CourtTime   开庭提前10日提醒
    // RenewalTime 委托到期日前45日提醒 委托到期日/续聘到期日
    // EnumArchiveNoticed like = EnumArchiveNoticed.篮球 | EnumArchiveNoticed.乒乓球 | EnumArchiveNoticed.羽毛球;
    // int select = (int)SealOutTime45 & (int)like;
    // bool isSelect = select == (int)SealOutTime45;
    [Flags]
    public enum EnumArchiveNoticed
    {
        SealOutTime45 = 1,
        CourtTime10 = 1 << 1,
        RenewalTime45 = 1 << 2,
    }
    
}
